﻿#ifndef LEVELPIN_H
#define LEVELPIN_H

#include <QObject>
#include <QObject>
#include <QJsonArray>
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonParseError>
#include <QJsonValue>
#include <QMap>
#include <QList>

class LevelPin : public QObject
{
    Q_OBJECT
public:
    explicit LevelPin(QObject *parent = nullptr);
    virtual ~LevelPin();

    void initPin();
    static LevelPin * gestance();

    int getRealHeight(int pins ,int heights);
signals:


private:
   static  LevelPin * m_levelPin;

   QMap<int , QMap<int ,int> > m_levelInfor;

};

#endif // LEVELPIN_H
